package com.example.department.Impl;

import com.example.department.Entity.Fengcomment;
import com.example.department.Entity.Integral;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface IntegralImpl { //用户志愿者积分明细
    List<Integral> getIntegralList(@Param("integral") Integral integral); //查询全部活动信息
    int addIntegral(@Param("integral") Integral integral); //增加活动信息
    int delIntegral(@Param("iid") int iid); //删除活动信息
    int updateIntegral(@Param("integral") Integral integral); //修改活动信息
    Integral getIntegralById(@Param("iid") int iid); //根据id查询
    List<Integral> getFIntegralPageList(@Param("iuserId") int iuserId, @Param("Start") int Start, @Param("Page") int Page);//获取列表
}
